import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
import { getWeekMonthQuarterYear } from '/@/utils';
//列表数据
export const columns: BasicColumn[] = [
  {
    title: '会员姓名',
    align: "center",
    dataIndex: 'userid_dictText'
  },
  {
    title: '直播间id',
    align: "center",
    dataIndex: 'liveid'
  },
  {
    title: '弹幕内容',
    align: "center",
    dataIndex: 'content'
  },
  {
    title: '创建时间',
    align: "center",
    dataIndex: 'createtime'
  },
  {
    title: '更新时间',
    align: "center",
    dataIndex: 'updatetime'
  },
  {
    title: '创建人',
    align: "center",
    dataIndex: 'createby'
  },
  {
    title: '更新人',
    align: "center",
    dataIndex: 'updateby'
  },
];

// 高级查询数据
export const superQuerySchema = {
  userid: {title: '会员姓名',order: 0,view: 'text', type: 'string',},
  liveid: {title: '直播间id',order: 1,view: 'text', type: 'string',},
  content: {title: '弹幕内容',order: 2,view: 'text', type: 'string',},
  createtime: {title: '创建时间',order: 3,view: 'datetime', type: 'string',},
  updatetime: {title: '更新时间',order: 4,view: 'datetime', type: 'string',},
  createby: {title: '创建人',order: 5,view: 'text', type: 'string',},
  updateby: {title: '更新人',order: 6,view: 'text', type: 'string',},
};
